package cc.recent.normal.information;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;

import io.flutter.embedding.engine.FlutterEngineGroup;

public class App extends Application {

    @SuppressLint("StaticFieldLeak")
    private static Context mContext;

    public FlutterEngineGroup engines;

    static public Context getInstance(){
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        engines = new FlutterEngineGroup(this);
    }
}
